package com.sxt.core.util;

import java.io.Closeable;
import java.io.IOException;

public class ResourceUtil {
   
	public static void closes(Closeable ...streams) {
		for (Closeable closeable : streams) {
			if(closeable!=null) {
				try {
					closeable.close();
				} catch (IOException e) {
					e.printStackTrace();
				}finally {
					closeable = null ;
				}
			}
		}
	}
} 
